package com.hz.ruoyimotor;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@EnableFeignClients
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.hz.ruoyimotor.mapper")
public class RuoyiMotorApplication {

    public static void main(String[] args) {
        SpringApplication.run(RuoyiMotorApplication.class, args);
    }

}
